package day0309;

public class ThrowDemo {
    public static void main(String[] args) {
        Person p =new Person();
        try {
            p.setAge(20);
        } catch (AgeExcption ageExcption) {
            ageExcption.printStackTrace();
        }
        System.out.println(p.getAge());
    }
}
